* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  font-family: Helvetica Neue, Tahoma, Arial, PingFangSC-Regular, Hiragino Sans GB, Microsoft Yahei, sans-serif;
  background: #fafafa;
}
a {
  color: #333;
  text-decoration: none;
}
img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
}
ul {
  list-style: none;
}
.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
i,
em {
  font-style: normal;
}
.ellipsis-2 {
  /* 1.溢出隐藏 */
  overflow: hidden;
  /* 2.用省略号来代替超出文本 */
  text-overflow: ellipsis;
  /* 3.设置盒子属性为-webkit-box  必须的 */
  display: -webkit-box;
  /* 4.-webkit-line-clamp 设置为2，表示超出2行的部分显示省略号，如果设置为3，那么就是超出3行部分显示省略号 */
  -webkit-line-clamp: 2;
}
.main .login {
  padding-left: 4vw;
  background-image: url('../lib/img/user-header2.png');
  background-size: cover;
  height: 34.6667vw;
  display: flex;
  align-items: center;
}
.main .login .p img {
  width: 13.3333vw;
  height: 13.3333vw;
  border-radius: 50%;
}
.main .login .lg {
  color: #c59a46;
  height: 13.3333vw;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 4vw;
}
.main .login .lg h2 {
  font-size: 4.5333vw;
}
.main .login .lg p {
  font-size: 4vw;
}
.main .money {
  flex: 1;
  height: 23.4667vw;
  padding: 5.3333vw 0;
  display: flex;
  justify-content: space-evenly;
  align-self: center;
  background-color: #fff;
}
.main .money .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 12.8vw;
  padding: 0 2.1333vw;
}
.main .money .box p:nth-child(1) {
  font-size: 4.5333vw;
  color: #ff0000;
}
.main .money .box p:nth-child(2) {
  font-size: 3.7333vw;
}
.main .money .wallet {
  text-align: center;
  width: 26.6667vw;
  border-left: 1px solid #eee;
  padding-top: 1.3333vw;
}
.main .money .wallet .iconfont {
  font-size: 5.8667vw;
}
.main .money .wallet p {
  font-size: 3.7333vw;
}
.main .order {
  height: 20.5333vw;
  margin: 2.6667vw 2.9333vw;
  padding: 2.6667vw;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.main .order .order-box {
  text-align: center;
}
.main .order .order-box i {
  font-size: 5.8667vw;
}
.main .order .order-box p {
  font-size: 3.7333vw;
}
.main .service {
  background-color: #fff;
  height: 51.7333vw;
  margin: 2.9333vw;
  padding: 2.9333vw 0;
}
.main .service p {
  height: 5.3333vw;
  padding-left: 5.3333vw;
  margin-bottom: 2.6667vw;
  font-size: 4vw;
  font-weight: normal;
}
.main .service .service-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}
.main .service .service-box .box {
  width: 25%;
  height: 16.2667vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4vw;
}
.main .service .service-box .box .iconfont {
  color: #ff3800;
  font-size: 5.8667vw;
}
.main .service .service-box .box p {
  font-size: 3.7333vw;
  padding: 0;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  height: 13.3333vw;
  width: 100%;
  border-top: 0.2667vw solid rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  margin-top: 1.6vw;
}
footer a {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
footer a .iconfont {
  font-size: 5.3333vw;
}
footer a p {
  font-size: 3.2vw;
}
footer .active {
  color: red;
}
